package cn.bsuc.infirmary.mapper;

import cn.bsuc.infirmary.domain.Drug;
import cn.bsuc.infirmary.query.QueryObject;

import java.util.List;

public interface DrugMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Drug record);

    Drug selectByPrimaryKey(Long id);

    List<Drug> selectAll();

    int updateByPrimaryKey(Drug record);
    List<Drug> queryList(QueryObject qo);
}